package com.yiduo.outpost.core.log.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//import static net.logstash.logback.appender.AsyncDisruptorAppender.DEFAULT_RING_BUFFER_SIZE;

/**
 * @author yanwen
 */
@Data
@ConfigurationProperties(prefix = "logstash")
public class LogstashProperties {

    private String host;

    private int port;

    private int queueSize = 8192;

    private String applicationName = "${spring.application.name}";

    private String version = "${spring.application.version}";

    private String env = "${spring.profiles.active}";

}
